/* 
 * The objective of this class is to make accesible to all clases the superstructure dictionary of language
 */


var dictionary = [];


    function fillDictionary ( dict ){
        dictionary = dict;
        //Store the array in the window.name var.
        window.name = dict;
    }
    
    
function getDictionary() {
    dictionary =  window.name;
    return dictionary;
}

function getDictValue(string){
    /*.
     * Enters a string with the key (the word in english)
     * and return its value in the selected language
     *
     * */
    return dictionary[string];
    
}